package com.yanqu.road.server.cmd.cross.tradewar;

import com.yanqu.road.pb.cross.tradewar.CrossTradeWarProto;
import com.yanqu.road.server.cmd.base.AbstractCommand;
import com.yanqu.road.server.command.Cmd;
import com.yanqu.road.server.gameplayer.GamePlayer;
import com.yanqu.road.server.manger.cross.CrossDataMgr;
import com.yanqu.road.message.YanQuMessage;
import com.yanqu.road.server.manger.union.GameUnionActivityGroupMgr;
import com.yanqu.road.server.protocol.Protocol;

@Cmd(code = Protocol.S_CROSS_TRADE_WAR_NOTICE_LIST_SYNC, desc = "跨服商战公告列表同步")
public class CrossTradeWarNoticeListSyncCmd extends AbstractCommand {

	@Override
	public boolean parseData(YanQuMessage packet) throws Exception {
		return true;
	}

	@Override
	public void execute(GamePlayer player, YanQuMessage packet) throws Exception {
		CrossTradeWarProto.CrossTradeWarNoticeListSyncMsg reqMsg = CrossTradeWarProto.CrossTradeWarNoticeListSyncMsg.parseFrom(packet.getBytes());

		CrossDataMgr.crossTradeWarNoticeListSync(reqMsg);
	}

	@Override
	public void sendData(GamePlayer player) {

	}

}
